<?php
require_once('relatedfiles_model.php');

class RelatedVideos_model extends RelatedFiles_model{
	function RelatedVideos_model(){
		parent::RelatedFiles_model();
		$this->ci =& get_instance();
		$this->ci->load->model('Videos_model');
		$this->setRelationalFields('image_id', 'video_id');
		$this->setManyModel($this->ci->Videos_model);
		$this->setFileLocationField('video_path');
		//$this->setSelectField('is_selected');
		$this->setOptionField('video_path');
	}
}
?>